package drds.server.route;

import java.util.LinkedHashMap;
import java.util.Map;

import drds.server.execute_engine.data_handling.GroupByFilter;

public class DataMerge {
	private LinkedHashMap<String, Integer> orderByColumnMap;
	private GroupByFilter groupByFilter;
	private Object[] groupByFilterColumNames;
	// clause
	private Map<String, Integer> mergeColumnAndIndexMap;
	private String[] groupByColumns;
	private boolean hasAggregateColumn;

	public LinkedHashMap<String, Integer> getOrderByColumnMap() {
		return orderByColumnMap;
	}

	public void setOrderByColumnMap(LinkedHashMap<String, Integer> orderByColumnMap) {
		this.orderByColumnMap = orderByColumnMap;
	}

	public Map<String, Integer> getMergeColumnAndIndexMap() {
		return mergeColumnAndIndexMap;
	}

	public void setMergeColumnAndIndexMap(Map<String, Integer> mergeColumnAndIndexMap) {
		this.mergeColumnAndIndexMap = mergeColumnAndIndexMap;
	}

	public String[] getGroupByColumns() {
		return groupByColumns;
	}

	public void setGroupByColumns(String[] groupByColumns) {
		this.groupByColumns = groupByColumns;
	}

	public boolean isHasAggregateColumn() {
		return hasAggregateColumn;
	}

	public void setHasAggregateColumn(boolean hasAggregateColumn) {
		this.hasAggregateColumn = hasAggregateColumn;
	}

	public GroupByFilter getGroupByFilter() {
		return groupByFilter;
	}

	public void setGroupByFilter(GroupByFilter groupByFilter) {
		this.groupByFilter = groupByFilter;
	}

	public Object[] getHavingColumNames() {
		return groupByFilterColumNames;
	}

	public void setGroupByFilterColumNames(Object[] groupByFilterColumNames) {
		this.groupByFilterColumNames = groupByFilterColumNames;
	}
}